package com.serkol.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.serkol.ams.entity.Menu;

import java.util.List;
import java.util.Map;

/**
* @author pingan
* @description 针对表【menu】的数据库操作Service
* @createDate 2022-10-07 17:12:39
*/
public interface MenuService extends IService<Menu> {
    List<Map<String, Object>> fetchMenuList(Long roleId);
    List<Map<String, Object>> fetchMenuTreeList();

    List<Map<String, Object>> listSelect();

    boolean byDelete(long id);
}
